home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / texinfo-.1 / makeinfo / makefile.djg next >
Encoding:
Makefile  |  1993-11-27  |  540 b   |  26 lines

  1. common=../libtxi
  2. LOCDEFS = -DREMOVE_OUTPUT_EXTENSIONS
  3. LIBS = -L$(common) -ltxi
  4. LOADLIBES = $(LIBS)
  5. LDFLAGS = -s
  6.  
  7. OBJS =  makeinfo.o
  8.  
  9. CFLAGS = -O2
  10.  
  11. all: makeinfo.exe makeinfo.info
  12.  
  13. makeinfo.exe: $(OBJS) $(common)/libtxi.a
  14.     gcc $(LDFLAGS) -o makeinfo $(OBJS) $(LOADLIBES)
  15.     coff2exe makeinfo
  16.  
  17. makeinfo.o: makeinfo.c $(common)/getopt.h
  18.     gcc -c -I. -I$(common) $(LOCDEFS) $(CFLAGS) $*.c
  19.  
  20. makeinfo.info: makeinfo.exe makeinfo.texi
  21.     makeinfo --no-split -I. makeinfo.texi -o makeinfo.info
  22.  
  23. clean :
  24.     -del *.o
  25.     -del makeinfo
  26.